
// 状态的数据格式
export interface StatusType {
    statusName: string
    statusId: number
}
// 状态的数据列表格式
export type StatusListType = StatusType[]

// 表单数据格式
export interface formDataType {
    customerName: string
    phoneNum: string
    status: string
}


// 列表数据
export class TableDataType {
    customerName: string = ""
    phoneNum: string = ""
    storeTtypeOrIndustry: string = "" // 店铺类型/行业
    numberOfStores: string = "" // 店铺数量
    sourceOfClues: string = "" // 线索来源
    creationTime: string = "" // 创建时间
    status: string = ""
    customerConversionTime: string = "" // 客户转换时间
}

export interface TableItemDataType  {
    customerId: number;
    customerName: string;
    phoneNumber: string;
    storeTypeIndustryMap: null;
    storeTypeIndustry: string;
    storeTypeIndustryId: string;
    storeCount: number;
    leadSourceList: null;
    leadSource: string;
    statusList: null;
    status: string;
    customerAddress: string;
    customerAddressDetail: string;
    conversionTime: string;
    follower: string;
    followerId: string;
    createTime: string;
    createdBy: string;
    lastModifiedTime: string;
    lastModifiedBy: string;
    remark: string;
    originalPhone: string
  }

// 列表查询数据格式
export class SubmitDataListType {
    customerId: number = 0 // 客户ID
    customerName: string = "" // 客户姓名
    phoneNumber: string = "" // 客户电话
    originalPhone: string = "" // 原始客户电话
    storeTypeIndustry: string = "" // 店铺类型/行业
    storeTypeIndustryId: string = "" // 店铺类型/行业ID
    storeCount: number = 1 // 店铺数量
    leadSource: string = "" // 线索来源
    status: string = "" // 状态
    customerAddress: string = "" // 客户地址
    customerAddressDetail: string = "" // 客户详细地址
    remark: string = "" // 备注
    pageNo: number = 1
    pageSize: number = 10
}

export type TableDataListType = TableItemDataType[]